package org.dallasrowing.model.dao;

import java.util.List;

import org.dallasrowing.model.Boat;

public interface BoatsDAO {

	public List<Boat> allBoats(boolean withRetired) throws DAOException;
	
	public Boat findBoatById(int id) throws DAOException;

	public List<Boat> findBoatsWithName(String boatName) throws DAOException;
	
	public void createNewBoat( Boat newBoat) throws DAOException;

	public void updateBoat(Boat with) throws DAOException;
}
